#pragma once
#include <algorithm>
#include <vector>
#include <set>

class CTableCompare
{
public:
	CTableCompare(void);
	~CTableCompare(void);

	_ConnectionPtr m_spConn;
//	CString GetXmlAtt(MSXML2::IXMLDOMElementPtr &spEle,CString sName);
	void ComapreTable(MSXML2::IXMLDOMElementPtr &spTable);
	BOOL IsTableExsit(LPCTSTR TableName);
//	void CompareFields(MSXML2::IXMLDOMElementPtr& spTable,ADODB::FieldsPtr &spFd);
	void CompareFieldType(ADODB::FieldPtr &adoField,MSXML2::IXMLDOMElementPtr& spField);


	CString m_sErrMsg;

};
